home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Tool Chest / Games / Mac Game Developer's Handbook / Compatibility / Developer Tips - Compatibility / Developer Tips - Compatibility
Encoding:
Text File  |  1993-04-21  |  5.6 KB  |  5 lines  |  [ONLN/HLX2]

  1. Developer Tips - Compatibility
  2. Robert McNally - PGA Tour Golf
  3. Since Electronic Arts specified that they wanted PGA Tour Golf to be compatible all the way back to system 6.0.3, we know we couldn't rely on the availability of the wonderful GWorld routines provided by 32-bit QuickDraw.  All of our off-screen drawing environments were set up using a library of routines we developed before GWorlds became available.
  4. As an independent developer, we were not able to test Golf thoroughly on more than a few machines, so Electronic Arts' beta-testing resources were invaluable in making sure that the code was stable across the entire Macintosh line.  They also took advantage of Apple's compatibility testing lab and so were able to try out the program on numerous Macintosh configurations.
  5. Screen Size Issues.  To maximize its potential market, we decided to design PGA Tour Golf to run on the "least common denominator" Macintosh screen, which is black-and-white with 512x342 pixels.  Since we knew it would need to run in color as well, we decided to have two sets of artwork: one for black-and-white monitors and one for 8-bit color.  If the user starts up the application with the monitor set to some other bit depth besides 1 or 8, a dialog informs them that they need to change their monitor setting.
  6. Since Golf relies heavily on bitmapped artwork of a fixed size, we decided that supporting arbitrary screen sizes was not a practical option.  For programmatic simplicity and future compatibility, we also decided that the set of color artwork would be the same size as the black-and-white set.
  7. Although we wanted the user to be able to switch out of Golf and into other running applications under MultiFinder, we decided that the user would have some responsibility for maintaining the correct graphics environment while Golf was running.  That is, if they started mucking with the monitor depth or ran another program that also took over the color environment, we wouldn't be responsible for the consequences besides making sure our program didn't crash.
  8.  
  9.  
  10. For additional information on how to contact Robert McNally of The Dreamers Guild, please see the "Macintosh Game Developer Talent" listing in the Developer Tools, Talent and Training section.
  11.     à◊#ˇ ˇˇˇˇ#◊ 
  12. d,Times
  13. $.ˇ°dONLNd)*M+HcDeveloper Tips -°dONLNdM*qÚ*$
  14. Compatibility
  15. °dONLNdœ*›Î*rRobert McNally - PGA Tour Golf
  16. °dONLNd>ı*”*$WSince Electronic Arts specified that they wanted PGA Tour Golf to be compatible all the°dONLNdñ*—*Wway back to system 6.0.3, we know we couldn't rely on the availability of the wonderful°dONLNdÓ*%®*LGWorld routines provided by 32-bit QuickDraw.  All of our off-screen drawing°dONLNd;+*7π*Penvironments were set up using a library of routines we developed before GWorlds°dONLNdå=*I*became available.°dONLNdûa*m›*$XAs an independent developer, we were not able to test Golf thoroughly on more than a few°dONLNd˜s*–*Xmachines, so Electronic Arts' beta-testing resources were invaluable in making sure that°dONLNdPÖ*ë⁄*Zthe code was stable across the entire Macintosh line.  They also took advantage of Apple's°dONLNd´ó*£’*Wcompatibility testing lab and so were able to try out the program on numerous Macintosh°dONLNd©*µr*configurations.°dONLNdÕ*Ÿà*$Screen Size Issues.~°dONLNd&Õ⟌)_A  To maximize its potential market, we decided to design PGA Tour°dONLNdhfl*Ϋ(HRGolf to run on the "least common denominator" Macintosh screen, which is black-and‹Ä°dONLNd∫fl«Î (Â-°dONLNdªÒ*˝ø(HSwhite with 512x342 pixels.  Since we knew it would need to run in color as well, we°dONLNd*œ*Wdecided to have two sets of artwork: one for black-and-white monitors and one for 8-bit°dONLNdg*!Δ*Zcolor.  If the user starts up the application with the monitor set to some other bit depth°dONLNd¬'*3ª*Ubesides 1 or 8, a dialog informs them that they need to change their monitor setting.°dONLNdK*W‹*$ZSince Golf relies heavily on bitmapped artwork of a fixed size, we decided that supporting°dONLNds]*i‘*Zarbitrary screen sizes was not a practical option.  For programmatic simplicity and future°dONLNdŒo*{’*Zcompatibility, we also decided that the set of color artwork would be the same size as the°dONLNd)Å*çã*black-and-white set.
  17. *I#Macintosh Game Developers' Handbook ÁFÁ/ ÈFÈ/ˇ◊#ˇ ˇˇˇˇ#◊ 
  18. d,Times
  19. .ˇ°dONLNd)*5Ω+HQSAlthough we wanted the user to be able to switch out of Golf and into other running°dONLNdT;*G‘*Wapplications under MultiFinder, we decided that the user would have some responsibility°dONLNd¨M*YŸ*Zfor maintaining the correct graphics environment while Golf was running.  That is, if they°dONLNd_*k«*Ustarted mucking with the monitor depth or ran another program that also took over the°dONLNd]q*}÷*Vcolor environment, we wouldn't be responsible for the consequences besides making sure°dONLNd¥É*è¢*our program didn't crash.°dONLNd“π*≈ *6RFor additional information on how to contact Robert McNally of The Dreamers Guild,°dONLNd%À*◊ÿ*Wplease see the "Macintosh Game Developer Talent" listing in the Developer Tools, Talent°dONLNd}›*Èë*and Training section.
  20. (ÚH#Macintosh Game Developers' Handbook ÁFÁ/ ÈFÈ/ˇ